home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20030409-20031118
/
000076_dhuff@armadillo.itg.ti.com_Tue May 13 17:46:20 EDT 2003.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
2KB
|
57 lines
Article: 14296 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed!arclight.uoregon.edu!logbridge.uoregon.edu!news.smu.edu!news.ti.com!not-for-mail
From: David Huff <dhuff@armadillo.itg.ti.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: making kermit exit to the cmd prompt
Date: Tue, 13 May 2003 16:28:22 -0500
Organization: Texas Instruments
Lines: 35
Message-ID: <pan.2003.05.13.16.28.20.796869.24852@armadillo.itg.ti.com>
References: <pan.2003.05.13.15.46.19.79295.24789@armadillo.itg.ti.com> <pan.2003.05.13.15.49.42.267491.24789@armadillo.itg.ti.com> <b9rm7s$4tv$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: armadillo.itg.ti.com
Mime-Version: 1.0
Content-Type: text/plain; charset=iso885915
Content-Transfer-Encoding: 8bit
X-Trace: home.itg.ti.com 1052861187 13366 172.25.44.25 (13 May 2003 21:26:27 GMT)
X-Complaints-To: usenet@news.ti.com
NNTP-Posting-Date: 13 May 2003 21:26:27 GMT
User-Agent: Pan/0.11.2 (Unix)
X-Comment-To: "Frank da Cruz" <fdc@columbia.edu>
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14296
On Tue, 13 May 2003 15:57:32 -0500, Frank da Cruz wrote:
> It's for use when making connections. Theoretically it should also work when *receiving*
> connections, but I'm not sure that was ever tried before now. Anyway,
> why not just put EXIT commands at the appropriate points in your script?
>
> - Frank
Yeah, tried that:
set <blah, blah> ; set params
answer ; put in answer mode with no timeout
exit
Of course, as soon as it answers, it prompts me if it's OK to exit.
I believe I can control this prompting behaviuor with SET EXIT
WARNING. But I don't want it to immediately exit after it answers,
I want it to wait until the other end hangs up. I suppose I could
just have it PAUSE first:
set <blah, blah> ; set params
set exit warning off ; don't prompt on exit
answer ; put in answer mode with no timeout
pause 10 ; sleep 10 secs
exit
but that seems, I dunno.. kinda cheesey ;) What I'd like to do is
replace the 'pause 10' line with something like (pardon the pseudo
code):
while connected {
loop
}
David